﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        #title
        {
            font-size: 3em;
            color: #7a7368;
            font-weight: 900;
            padding: 20px 0 20px 0;
        }                     
    </style>
</asp:Content>
<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Log On
</asp:Content>

<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
    <div id="title">
        Login.
    </div>
        Please enter your username and password. 
        <div class="clear"></div>
        <%= Html.ActionLink("Register", "Register") %> if you don't have an account.<div class="clear"></div>
    <%= Html.ValidationSummary("Login was unsuccessful. Please correct the errors and try again.") %>

    <% using (Html.BeginForm()) { %>
        <div>
            <fieldset>
                <label style="padding:20px 0 5px 0;" for="username">Username</label>
                <div style="background-color:White;height:100%;width:300px;"class="rounded3">
                    <%= Html.TextBox("username") %>
                </div>
                    <%= Html.ValidationMessage("username") %>
                <div style="padding-top:20px;"></div>
                <label for="password">Password</label>
                <div style="padding-top:5px;"></div>
                <div style="background-color:White;height:100%;width:300px;"class="rounded3">
                    <%= Html.Password("password") %>
                </div>
                    <%= Html.ValidationMessage("password") %>
                <p>
                    <%= Html.CheckBox("rememberMe") %> <label class="inline" for="rememberMe">Remember me?</label>
                </p>
                <div style="float:left;background-color:#C0C97B;height:100%;"class="rounded3">
                    <input type="submit" value="Log On" />
                </div>
            </fieldset>
        </div>
    <% } %>
</asp:Content>
